lib-src/emacsclient.c (w32_execvp): Declare execvp to silence the compiler.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 9 Jul 2012 14:01:41 +0000 (16:01 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 9 Jul 2012 14:01:41 +0000 (16:01 +0200)
lib-src/ChangeLog
lib-src/emacsclient.c

index 1e80d7f416d3900643eb027677177873ffb8be14..75de6293dbf7ef153cd46400c40d77195ac0760f 100644 (file)
@@ -1,3 +1,7 @@
+2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
+
+       * emacsclient.c (w32_execvp): Declare execvp to silence the compiler.
+
 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
 
        * makefile.w32-in ($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC.
index 46a4fdb26e72fdddda070d3c18a90d3179385c0c..5487c1470792cdc02c3051d43fc9c403bca71257 100644 (file)
@@ -463,6 +463,7 @@ int
 w32_execvp (const char *path, char **argv)
 {
   int i;
+  extern int execvp (const char*, char **);
 
   /* Required to allow a .BAT script as alternate editor.  */
   argv[0] = (char *) alternate_editor;